package com.book.book.service;

import com.book.book.domain.AppointmentDO;
import com.book.common.utils.Query;
import com.book.iphone.domain.RecevingDo;

import java.util.List;
import java.util.Map;

/**
 * 预约表
 * 
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-02-02 10:14:15
 */
public interface AppointmentService {
	
	AppointmentDO get(Integer id);
	
	List<AppointmentDO> list(Map<String, Object> map);

	List<RecevingDo> RecevingList(Map<String,Object> map);
	
	int count(Map<String, Object> map);
	
	int save(AppointmentDO appointment);
	
	int update(AppointmentDO appointment);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<AppointmentDO> listWithUserInfo(Map<String, Object> map);
}
